#==============================================================================
#  _   _                         ____                _             
# | | | | ___  _ __ ___   ___   / ___|___  _ __ ___ (_)_ __   __ _ 
# | |_| |/ _ \| '_ ` _ \ / _ \ | |   / _ \| '_ ` _ \| | '_ \ / _` |
# |  _  | (_) | | | | | |  __/ | |__| (_) | | | | | | | | | | (_| |
# |_| |_|\___/|_| |_| |_|\___|  \____\___/|_| |_| |_|_|_| |_|\__, |
#                                                            |___/ 
#------------------------------------------------------------------------------
# Project:	Home Coming / 2D platform
# Author:	zx.longgi
# Time:		08/07-2010 
# Usage:	simple object class, only contains basic informations
# Description:	The simplest node class, works as the logic concept of all 
#		nodes
# ClassName:	zobject
#==============================================================================

class zobject:
	"""A simple object class, that contains basic information"""
	# the base position of this node
	base_position = [0, 0]
		
	# the name of this node
	name_string = ""
	
	# the layer count of this node
	z_level = -1
	
	def __init__(self):
		self.base_position = [0, 0]
		self.name_string = ""
		self.z_level = -1
		
	def __init__(self, bpos, nstr, zlvl):
		self.base_position = bpos
		self.name_string = nstr
		self.z_level = zlvl
		
		